/**
 * 一些特殊的路由设置，例如打开就需要全屏
 */
export const staticRouters = [
  {
    path: '/login/:from?',
    component: () => import('layouts/LoginLayout.vue'),
    children: [
      {
        path: '',
        component: () => import('pages/login.vue'),
        meta: {
          title: '登录',
        },
      },
    ],
    meta: {
      title: '登录',
    },
  },
  {
    path: '/sub-system',
    component: () => import('layouts/sub-system.vue'),
    meta: {
      title: '子系统选择',
    },
  },
  {
    path: '/map',
    component: () => import('layouts/map.vue'),
    meta: {
      title: '学习角',
    },
    children: [
      {
        path: '',
        component: () => import('pages/postgraduate/forum/index.vue'),
        meta: {
          title: '学习角',
        },
      },
      {
        path: 'predict',
        component: () => import('pages/weather/predict/detail/index.vue'),
        meta: {
          title: '智能大屏',
        },
      },
    ],
  },
];

export const phoneStaticRouters = staticRouters.concat([
]);

export const pcStaticRouters = staticRouters.concat([
]);
